﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Audio;

namespace Platformer.NPCs
{
    class Duke : NPC
    {
        int level;

        public Duke(Vector2 pos, Level l)
            : base(pos, l, "Sprites\\Duke")
        {
            level = l.LevelIndex;
            sayings.Add("What a brave and noble night in these times of rabblery and lawlessness. God bless you good sir!");
            sayings.Add("(whispered) go and fetch the sheets. Haunt his night with ghosts. Imagine the humor!");
            sayings.Add("Your grace, perhaps it is time that we have parted ways, and you continue to serve the world!");
            Name = "Duke";
        }

        public override string getWhatToSay()
        {
            if (level == 12)
            {
                return (string)sayings[sayingsPos++ % 2]; //REALLY?!?!
            }
            else
            {
                return (string)sayings[2];
            }
        }
    }
}
